package com.ly.cloud.remote.feign;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.ly.cloud.remote.feign.fallback.CodeRuleServiceFeignFallback;
import com.ly.cloud.web.utils.WebResponse;

/**
 * 测试
 * @author caihuihai
 * @date 2018年12月25日 下午3:59:54
 */
@FeignClient(name = "ly-gzjw-xtsz-svc", fallback = CodeRuleServiceFeignFallback.class)
public interface CodeRuleServiceFeign {
	
	@RequestMapping(value = "/codeRule/genRuleCode", method = RequestMethod.GET)
	public WebResponse<String> genRuleCode(@RequestParam(value="bbh") String bbh);
	
}
